{+include file='header.html'+}
<script language="javascript" src="../js/md5.js"></script>
<style type="text/css">
.addtb{width:210px;display:none;position:absolute;background:#fff}
.addtb td{text-align:left;}

.conwidth{width:400px;}
.add_tb td{width:35%;height:30px;line-height:30px;text-align:left;padding-left:20px;}
.add_tb th{width:15%;height:30px;line-height:30px;}
.add_tb {background:#fff}
.page{table-layout: fixed;}

.recordtb .e tr:hover{background:#FCF}
.recordtb .l tr:hover{background:#FCF}
</style>
</head>
<body>
<script id=myjs language="javascript">var js=1;var sss='seditson';</script>
<div class="xbody1">
    <table class="tinfo wd100">
  <TR>
  
 <th style="width:150px;">帐户</th><th>注册时间</th><th>登陆次数</th><th>最后登录IP</th><th>最后登录时间</th><th>最后修改密码时间</th><th> <input class='add btn1 btnf' value='新增子帐号'  id="add{+$data[0].userid+}" type='button' /></th>
  

   </TR>     
   
      {+section name=i loop=$data+}
   <tr><td >{+$data[i].username+}</td><td>{+$data[i].regtime+}</td><td>{+$data[i].logintimes+}</td><td>{+$data[i].lastloginip+}({+$data[i].lastloginfrom+})</td><td>{+$data[i].lastlogintime+}</td><td>{+$data[i].passtime+}</td>
   <td style="width:180px;">  

   {+if $data[i].ifson!=0+}
   <input type='button' class='del btn1 btnf' value='删除' id="del{+$data[i].userid+}" UID="{+$data[i].userid+}" />
   {+/if+}
   <input class='edit btn1 btnf' id="edit{+$data[i].userid+}" value='修改密码' UID="{+$data[i].userid+}" username='{+$data[i].username+}' type='button' />

   <input class='record btn1 btnf' value='记录' uid='{+$data[i].userid+}' username='{+$data[i].username+}'  id="showrecord{+$data[i].userid+}" type='button' />
   </td>
   </tr>
   {+/section+}
   
   </table>
   <table class="page tinfo wd100" style="margin-top:20px;">
    {+foreach item=i key=k from=$page+}
      <tr>
          {+foreach item=j from=$i+}
            {+if $k==0+} <Th>{+$j+}</Th>{+else+}
            <TD>{+$j+}</TD>
            {+/if+}
          {+/foreach+}
      </tr>
    {+/foreach+}
   </table>
    <table class="tinfo addtb">
      <TR><Th>子帐号</Th><TD><label id='user0'>{+$username+}</label><input type="text" id='user1' maxlength="4" class="txt1" style="width:40px;" /><input type="hidden" id='action' value="add" /></TD></TR>
      <TR><Th>密码</Th><TD><input type="password" id='pass1x' class="intext" /></TD></TR>
      <TR><Th>重复密码</Th><TD><input type="password" id='pass2x' class="intext" /></TD></TR>
      <TR><th colspan="2" class="tcenter"><input type="button" id='addbtn' class="btn1 btnf" value="新增子帐号" />&nbsp;<input type="button" id='closebtn' class="btn1 btnf" value="关闭" /></th></TR>
   </table>
   <input type="hidden" value="{+$uid+}" name='uid' id='uid' />
</div>
   <table class="recordtb tinfo hide" style="width:650px;position:absolute;background:#fff;display:none">
<tr><td class="e" valign="top"></td><td class="l" valign="top"></td></tr>

</table>
<div id='test'></div>
</body>
</html>